var t = getApp(), a = t.requirejs("core");
Page({

  data: {
    codeObj:'',
    verifycode:'',
  },

  onLoad: function (options) {
    this.getCode(options.orderid);
    this.setData({
      verifycode:options.verifycode
    })
  },

  getCode: function(orderid) {
    var e = this;
    a.post("verify/qrcode", {
        id: orderid
    }, function(res) {
        0 == res.error ? e.setData({
            codeObj:res
        }) : a.alert(res.message);
    }, !0);
},

  onShareAppMessage: function () {

  }
})